home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
samples
/
olecon~1
/
controls
/
webbit~1
/
makefile
< prev
next >
Wrap
Makefile
|
1995-12-06
|
3KB
|
86 lines
#=------------------------------------------------------------------------=
# Makefile [WebBitmap]
#=------------------------------------------------------------------------=
# Copyright 1995 Microsoft Corporation. All Rights Reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
# PARTICULAR PURPOSE.
#=--------------------------------------------------------------------------=
#
# builds a URL Moniker Bitmap Control
#
TARGETOS=BOTH
APPVER=4.0
MKDEP=mkdep
MKTYPLIB=mktyplib
VERSIONHDR=dwinvers.h
!include <win32.mak>
cflags=$(cflags) -Oi
!if "$(NODEBUG)"!=""
CTL_LIBS=$(winlibs) ..\..\lib\CTLFWR32.LIB urlmon.lib uuid2.lib olepro32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib uuid3.lib
!else
cdebug=$(cdebug) -DDEBUG
CTL_LIBS=$(winlibs) ..\..\lib\CTLFWD32.LIB urlmon.lib uuid2.lib olepro32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib uuid3.lib
!endif
CONTROLNAME=WebBitmap
OBJS=Guids.Obj\
$(CONTROLNAME).Obj\
$(CONTROLNAME)Ctl.Obj\
$(CONTROLNAME)PPG.Obj\
$(CONTROLNAME).res
all: dep $(CONTROLNAME).OCX
$(CONTROLNAME).Ocx: $(VERSIONHDR) $(CONTROLNAME).TLB $(OBJS) makefile
$(link) $(lflags) $(ldebug) -DLL -entry:DllMain$(DLLENTRY) $(OBJS) -out:$*.ocx $(CTL_LIBS) -def:$(CONTROLNAME).def
.cpp.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\..\Include $<
.c.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\..\Include $<
$(CONTROLNAME).TLB : $(CONTROLNAME).ODL
$(MKTYPLIB) $(_MKTYPLIBFLAGS) -nologo -cpp_opt "/C /E /D__MKTYPLIB__ -nologo" -I ..\..\Include -h $(CONTROLNAME)Interfaces.H -o Errors.LOG -tlb $(CONTROLNAME).TLB $(CONTROLNAME).ODL
$(CONTROLNAME).res : $(CONTROLNAME).TLB $(CONTROLNAME).RC
$(rc) $(rcflags) -fo $(CONTROLNAME).Res $(CONTROLNAME).Rc
Dep: $(CONTROLNAME).TLB
@echo Generating Dependancies
$(MKDEP) -n -P ./ -I. -I..\..\Include -s .obj *.c* > dep.mak
$(VERSIONHDR):
@echo You should edit this file for your own version information
copy ..\..\framewrk\$(VERSIONHDR)
clean:
del *.obj
del *.ocx
del *.exp
del *.lib
del *.tlb
del *.res
del *.log
del *.mak
del $(CONTROLNAME)Interfaces.h
del dwinvers.h
#=----------------------------=
# Include Dependency Makefile
#
!IF EXIST(dep.mak)
!include dep.mak
!ENDIF